import request from '@/api/request'
function indexaction(data) {
    return request({
        method: "get",
        url: "/search/indexaction",
        data
    })
}
function serachTips(data) {
    return request({
        method: "get",
        url: "/search/helperaction",
        data
    })
}
function addhistory(data) {
    return request({
        method: "post",
        url: "/search/addhistoryaction",
        data
    })
}
function clearhistory(data) {
    return request({
        method: "post",
        url: "/search/clearhistoryAction",
        data
    })
}

export {
    indexaction,
    serachTips,
    addhistory,
    clearhistory

}